//
//  JZHShare.h
//  极致荟
//
//  Created by hetao on 14-5-13.
//  Copyright (c) 2014年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^Refresh)();//刷新BLOCK
@interface JZHShare : UIView
@property (weak, nonatomic) IBOutlet UIView *shareview1;
@property (weak, nonatomic) IBOutlet UIView *shareview2;
@property (weak, nonatomic) IBOutlet UIButton *quxiaobut;
@property (weak, nonatomic) IBOutlet UIButton *quxiaobut2;
- (void)show:(int)index viewcontroller:(UIViewController *)contcroller;

//设置分享数据
- (void)shareData:(NSString *)title shareTxt:(NSString* )txt image:(NSData *)image;
@property (nonatomic,copy)NSData *imagepath;//分享图片
@property (nonatomic,copy)NSString *title;//分享标题
@property (nonatomic,copy) NSString* shareTxt;//分享内容
@property (nonatomic,copy) Refresh refresh;//刷新BLOCK
@end
